import Vue from 'vue'
import Router from 'vue-router';
import App from './App.vue'

import router from './router/index';
import store from './store';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './hiprint/css/hiprint.css';
import './assets/style.less';

// 引用表格中input的方向键指令
import './directives/table-moves.js';
import './directives/dialog-drag.js';
import './filters'

// xe-table
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
Vue.use(VXETable);
import './components/kz-vxe-table/index'

// 引入vue-easytable
import "vue-easytable/libs/theme-default/index.css";
import VueEasytable from "vue-easytable";
Vue.use(VueEasytable);

Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(Router);

// kz-input-number 扩展input-number
import kzInputNumber from './components/kz-input-number';
Vue.use(kzInputNumber)

import Dialog from './components/dialog';
Vue.use(Dialog);

import UmyUI from 'umy-ui';
import "umy-ui/lib/theme-chalk/index.css";
Vue.use(UmyUI);

// import KzVxeTable from './components/kz-vxe-table'
// Vue.use(KzVxeTable);

import Modal from './components/modal';
Vue.prototype.$modal = Modal;

import {hiPrintPlugin, disAutoConnect} from './hiprint';
Vue.use(hiPrintPlugin);
disAutoConnect();

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
